package com.ruoyi.project.system.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

/**
 * 【请填写功能名称】对象 ve_customer
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class VeCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户的唯一标识ID */
    private Long CustomerID;

    /** 客户的姓名 */
    @Excel(name = "客户的姓名")
    private String CustomerName;

    /** 客户的电子邮件地址 */
    @Excel(name = "客户的电子邮件地址")
    private String Email;

    /** 客户的联系电话 */
    @Excel(name = "客户的联系电话")
    private String PhoneNumber;

    /** 客户的地址 */
    @Excel(name = "客户的地址")
    private String Address;

    private Long flowInstanceId;
    private Integer status;
    private Integer agree;
    private String comment;
    private String picture;

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getFlowInstanceId() {
        return flowInstanceId;
    }

    public void setFlowInstanceId(Long flowInstanceId) {
        this.flowInstanceId = flowInstanceId;
    }

    public void setCustomerID(Long CustomerID)
    {
        this.CustomerID = CustomerID;
    }

    public Long getCustomerID()
    {
        return CustomerID;
    }
    public void setCustomerName(String CustomerName)
    {
        this.CustomerName = CustomerName;
    }

    public String getCustomerName()
    {
        return CustomerName;
    }
    public void setEmail(String Email)
    {
        this.Email = Email;
    }

    public String getEmail()
    {
        return Email;
    }
    public void setPhoneNumber(String PhoneNumber)
    {
        this.PhoneNumber = PhoneNumber;
    }

    public String getPhoneNumber()
    {
        return PhoneNumber;
    }
    public void setAddress(String Address)
    {
        this.Address = Address;
    }

    public String getAddress()
    {
        return Address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("CustomerID", getCustomerID())
            .append("CustomerName", getCustomerName())
            .append("Email", getEmail())
            .append("PhoneNumber", getPhoneNumber())
            .append("Address", getAddress())
            .toString();
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        VeCustomer customer = (VeCustomer) o;
        return Objects.equals(CustomerID, customer.CustomerID);
    }

    @Override
    public int hashCode() {
        return Objects.hash(CustomerID);
    }
}
